package com.mzj.saas.mservice.house.repository;

import com.mzj.saas.mservice.house.entity.HousePublicity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface HousePublicityRepository extends PagingAndSortingRepository<HousePublicity, Long>, JpaSpecificationExecutor<HousePublicity> {

    List<HousePublicity> findByAreaId(Long areaId);

}
